مشخصات مقاله
-
1731
-
0.0
-
5583
-
0
-
0
مقدمه ای بر Entity Framework6.0 (ساختار موجودیت)
مقدمه ای بر Entity Framework6.0 (ساختار موجودیت)
به بخش آموزشی Entity Framework 6 خوش آمدید. در این قسمت جدید Entity Framework 6 را با Visual Studio 2012 یاد خواهید گرفت.
Entity Framework 6.0 ویژگی های مهیج جدیدی را برای پایگاه داده (designer- database first) و Code-First معرفی کرده است.
ویژگی هایی برایDatabase First (Designer) وCode-First
- Connection resiliency
- Asynchronous query and save
- Code-based configuration
- Database command logging
- Database command interception
- Dependency Resolution
- DbSet.AddRange/RemoveRange
- Better Transaction Support
- Pluggable pluralisation and singularization service
- Testability improvements
- Creating context with an open connection
- Improved performance and warm-up time
ویژگی هایی برای Code-First
- Custom conventions
- Insert, update & delete stored procedures for entity CUD operation
- Index attribute (EF 6.1)
- Multiple context per database
- Nested entity types
- Nested entity types
- Custom migration operations
- Configurable migration history table